﻿using SqlSugar;
using System;

namespace OldPlatform_to_NewPlatform.newEntity
{
    /// <summary>
    /// 班报表实体类
    /// </summary>
    [SugarTable(TableConstant.NShiftRpt)]
    public class NShiftRpt
    {
        #region 字段属性

        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 槽号
        /// </summary>
        public string Slot_id { get; set; }

        /// <summary>
        /// 记录生成日期
        /// </summary>
        public DateTime Record_date { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public int Shift_id { get; set; }

        /// <summary>
        /// 槽状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 电流
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Electric { get; set; }

        /// <summary>
        /// 设定电压
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Volt_set { get; set; }

        /// <summary>
        /// 工作电压
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Work_volt { get; set; }

        /// <summary>
        /// 平均电压
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Volt_avg { get; set; }

        /// <summary>
        /// 设定nb间隔
        /// </summary>
        public int Nb_interval_set { get; set; }

        /// <summary>
        /// 下料总量
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Nb_total { get; set; }

        /// <summary>
        /// 下料总次数
        /// </summary>
        public int Nb_times { get; set; }

        /// <summary>
        /// 氧化铝下料总量
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Alumina_nb_total { get; set; }

        /// <summary>
        /// 氧化铝下料次数
        /// </summary>
        public int Alumina_nb_times { get; set; }

        /// <summary>
        /// 欠量下料次数
        /// </summary>
        public int Nb_owe_times { get; set; }

        /// <summary>
        /// 过量下料次数
        /// </summary>
        public int Nb_over_times { get; set; }

        /// <summary>
        /// 自动小下料次数
        /// </summary>
        public int Auto_small_nb_times { get; set; }

        /// <summary>
        /// 自动大下料次数
        /// </summary>
        public int Auto_big_nb_times { get; set; }

        /// <summary>
        /// 手动小下料次数
        /// </summary>
        public int Manual_small_nb_times { get; set; }

        /// <summary>
        /// 手动大下料次数
        /// </summary>
        public int Manual_big_nb_times { get; set; }

        /// <summary>
        /// 氟盐下料量
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Fluoride_salt_nb_total { get; set; }

        /// <summary>
        /// 氟盐下料次数
        /// </summary>
        public int Fluoride_salt_nb_times { get; set; }

        /// <summary>
        /// 自动氟盐次数
        /// </summary>
        public int Auto_fluoride_salt_nb_times { get; set; }

        /// <summary>
        /// 手动氟盐次数
        /// </summary>
        public int Manual_fluoride_salt_nb_times { get; set; }

        /// <summary>
        /// 异常电压平均值
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Exception_volt_avg { get; set; }

        /// <summary>
        /// 异常电压持续时间/分钟
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Exception_volt_duration { get; set; }

        /// <summary>
        /// 针振平均值
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Avg_vibration { get; set; }

        /// <summary>
        /// 针振严重持续时间/分钟
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Vibration_serious_duration { get; set; }

        /// <summary>
        /// 摆动平均值
        /// </summary>
        [SugarColumn(DecimalDigits = 3)]
        public decimal Avg_swing { get; set; }

        /// <summary>
        /// 摆动严重持续时间
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Swing_serious_duration { get; set; }

        /// <summary>
        /// 总功耗
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Sum_power_waste { get; set; }

        /// <summary>
        /// 异常功耗
        /// </summary>
        [SugarColumn(DecimalDigits = 1)]
        public decimal Exception_power_waste { get; set; }

        /// <summary>
        /// 出铝时刻
        /// </summary>
        public string Out_al_time { get; set; }

        /// <summary>
        /// 换极时刻
        /// </summary>
        public string Change_anode_time { get; set; }

        /// <summary>
        /// 自动阳升次数
        /// </summary>
        public int Auto_anode_up_times { get; set; }

        /// <summary>
        /// 自动阳降次数
        /// </summary>
        public int Auto_anode_down_times { get; set; }

        /// <summary>
        /// 手动阳升次数
        /// </summary>
        public int Manual_anode_up_times { get; set; }

        /// <summary>
        /// 手动阳降次数
        /// </summary>
        public int Manual_anode_down_times { get; set; }

        #endregion 字段属性
    }
}